Time of Update: 2015-01-12
Floorx = Barrelmaxoradius * 6 + barpadding * 4,//Chassis length floory = 20, Chassis High Floorz = 2 * Barrelmaxoradius + barpadding * 2,//Chassis width//Column Set positions = [{barrels: [], Position: [-(2*barrelmaxoradius + barpadding), CYLINDERHEIGHT/2 + 1, 0]},{barrels: [] , Position: [0, CYLINDERHEIGHT/2 + 1, 0]},{barrels: [], Position: [(2*barrelma Xoradius + barpadding), CYLINDERHEIGHT/2 + 1, 0]}], Runorder = [],//disk move sequence set
Time of Update: 2015-11-16
disc, // barrelMaxORadius = barrelMinORadius + barNum * poorRadius, barrelHeight = 20, // barPadding = 20 in the disc height, // floorX = barrelMaxORadius * 6 + barPadding * 4, // chassis length floorY = 20, // chassis height floorZ = 2 * barrelMaxORadius + barPadding * 2, // chassis width // Positions = [{barrels: [], position: [-(2 * barrelMaxORadius + barPadding), cylinderHeight/2 + 1, 0]}, {barrels: [], position: [0, cylinderHeight/2 + 1, 0]}, {b
Time of Update: 2016-07-12
Barrelmaxoradius = Barrelminoradius + Barnum * Poorradius, Barrelhe ight = 20,//disc High barpadding = 20,//gap between cylinders Floorx = Barrelmaxoradius * 6 + barpadding * 4,//Chassis length floory = 20, Chassis High Floorz = 2 * Barrelmaxoradius + barpadding * 2,//Chassis width//Column Set positions = [{barrels: [], Position: [-(2*barrelmaxoradius + barpadding), CYLINDERHEIGHT/2 + 1, 0]},{barrels: [] , Position: [0, CYLINDERHEIGHT/2 + 1, 0]},{ba
Time of Update: 2015-11-14
,barrelheight= 20,// Disc height barPadding=20,// gap between cylinders floorx=barrelmaxoradius*6+barpadding*4,// Chassis length floorY=20,// chassis height floorz = 2*barrelMaxORadius+barPadding*2,// Chassis Width // Cylinder Set NBSP;NBSP;Nbsp;positions=[{ barrels:[], position:[-(2*barrelmaxoradius+barpadding), cylinderheight/2+1,0]},{ barrels:[], position:[0,cylinderheight/2+ 1,0]},{ barrels:[], position:[(2*barrelmaxoradius+barpadding), cylinder
Time of Update: 2017-05-14
://hightopo.com/demo/hanoi_20151106/index.html
Var barNum = 5, // number of disks cylinderHeight = barNum * 20 + 40, // cylindrical height barrelMinORadius = 50, // maximum outer radius of the disc barrelIRadius = 10, // poorRadius = 20 in the disc, // barrelMaxORadius = barrelMinORadius + barNum * poorRadius, barrelHeight = 20, // barPadding = 20 in the disc height, // floorX = barrelMaxORadius * 6 + barPadding * 4, // chassis length floorY = 20, // chassis height
Time of Update: 2015-01-12
(polyline), offset= G3d.getlineoffset (polyline, Length *v), Point=offset.point, px=point.x, py=Point.y, PZ=point.z; BARREL.P3 (px, py, PZ); }; Params.finishfunc=function() {PositionC.barrels.push (barrel); varposes =Runorder.shift (); if(!poses) {moveanimation (); } Else{moveanimation (positions[poses[0]], positions[poses[1]]); } }; Anim=ht. Default.startanim (params); }}/** * Reset the game **/functionReset () {if(Positions[0].barrels.length = = 0) {p
Time of Update: 2015-01-13
, barrelHeight = 20, // barPadding = 20 in the disc height, // floorX = barrelMaxORadius * 6 + barPadding * 4, // chassis length floorY = 20, // chassis height floorZ = 2 * barrelMaxORadius + barPadding * 2, // chassis width // Positions = [{barrels: [], position: [-(2 * barrelMaxORadius + barPadding), cylinderHeight/2 + 1, 0]}, {barrels: [], position: [0, cylinderHeight/2 + 1, 0]}, {barrels: [], position: [(2 * barrelMaxORadius + barPadding ), cylind